From: Mirko Vogt Date: Mon, 12 May 2025 01:04:00 +0000 (+0000) Subject: qt5quick2: Symlink $PATH/qmlplugindump to /bin/true X-Git-Url: http://git.openwrt.org/%22http:/oss.oetiker.ch/rrdtool//%22/%22http:/oss.oetiker.ch/rrdtool/%22?a=commitdiff_plain;h=3682c598e59ebe7eadc41f6f21da953f1e9a2aa2;p=feed%2Fvideo.git qt5quick2: Symlink $PATH/qmlplugindump to /bin/true qmlplugindump appears to be called at the end of `make`-invocation for qmake generated projects. If it fails with exit code != 0 the OpenWrt build fails. qmlplugindump is apparently needed as a host tool, but can not be (easily) packaged as a host tool. The project file states: "qmlplugindump cannot be a build tool, because it loads target plugins." which seems pretty mysterious to me. So it's needed as a requirement on the host system, and/but natively installed (newer) versions - at with my Debian's version - started to fail with: "QQmlComponent: Component is not ready" I have no idea what qmlplugindump actually does or why it's needed. It seems to do no harm to not invoke qmlplugindump - so hack-not-even-fix it by just overriding each qmlplugindump invocation. --- diff --git a/frameworks/qt5/qt5quick2/Makefile b/frameworks/qt5/qt5quick2/Makefile index 8e1627b..8ac4901 100644 --- a/frameworks/qt5/qt5quick2/Makefile +++ b/frameworks/qt5/qt5quick2/Makefile @@ -196,6 +196,8 @@ define Build/InstallDev $(call Build/Install/HostFiles,$(1)) $(call Build/Install/Headers,$(1)) $(call Build/Install/Libs,$(1),*) + + ln -sf /bin/true $(STAGING_DIR)/host/bin/qmlplugindump endef define Build/Install/QMLplugin